package com.kingyea.kim.task.condition;

import com.kingyea.kim.base.PageQuery;

import java.util.Date;

public class TaskCondition {

    private PageQuery pageQuery;

    private Integer id;

    private Integer sendId;

    private String sendDep;

    private String title;

    private String sendName;

    private String sendImg;

    private String content;

    private Integer state;

    private String sendFrom;

    private Integer userId;

    private Date createdDate;

    private Integer isDeleted;

    private String jumpAddress;

    private String jumpParm;

    private Date updateTime;

    private String createBy;

    private Date receiveTime;

    private Integer fromTaskId;

    private String search;

    public TaskCondition(Integer id, Integer sendId, String sendDep, String title, String sendName, String sendImg, String content, Integer state, String sendFrom, Integer userId, Date createdDate, Integer isDeleted, String jumpAddress, String jumpParm, Date updateTime, String createBy, Date receiveTime, Integer fromTaskId) {
        this.id = id;
        this.sendId = sendId;
        this.sendDep = sendDep;
        this.title = title;
        this.sendName = sendName;
        this.sendImg = sendImg;
        this.content = content;
        this.state = state;
        this.sendFrom = sendFrom;
        this.userId = userId;
        this.createdDate = createdDate;
        this.isDeleted = isDeleted;
        this.jumpAddress = jumpAddress;
        this.jumpParm = jumpParm;
        this.updateTime = updateTime;
        this.createBy = createBy;
        this.receiveTime = receiveTime;
        this.fromTaskId = fromTaskId;
    }

    public PageQuery getPageQuery() {
        return pageQuery;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public void setPageQuery(PageQuery pageQuery) {
        this.pageQuery = pageQuery;
    }

    public TaskCondition() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSendId() {
        return sendId;
    }

    public void setSendId(Integer sendId) {
        this.sendId = sendId;
    }

    public String getSendDep() {
        return sendDep;
    }

    public void setSendDep(String sendDep) {
        this.sendDep = sendDep == null ? null : sendDep.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName == null ? null : sendName.trim();
    }

    public String getSendImg() {
        return sendImg;
    }

    public void setSendImg(String sendImg) {
        this.sendImg = sendImg == null ? null : sendImg.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getSendFrom() {
        return sendFrom;
    }

    public void setSendFrom(String sendFrom) {
        this.sendFrom = sendFrom == null ? null : sendFrom.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getJumpAddress() {
        return jumpAddress;
    }

    public void setJumpAddress(String jumpAddress) {
        this.jumpAddress = jumpAddress == null ? null : jumpAddress.trim();
    }

    public String getJumpParm() {
        return jumpParm;
    }

    public void setJumpParm(String jumpParm) {
        this.jumpParm = jumpParm == null ? null : jumpParm.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public Integer getFromTaskId() {
        return fromTaskId;
    }

    public void setFromTaskId(Integer fromTaskId) {
        this.fromTaskId = fromTaskId;
    }
}